<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>FAQ列表</title>
		<script type="text/javascript" src="../jquery/jquery-1.8.3.js"></script>
		<style type="text/css">
			.one {
				width: 600px;
				font-size: 12px;
			}
			
			.one .top {
				height: 33px;
				line-height: 33px;
				width: 700px;
				padding-left: 28px;
				color: #168750;
				font-weight: bold;
				margin-top: 10px;
			}
			
			.bg2{
				background-color: lightgreen;
				border-radius: 10px;
			}
			
			.iocn {
				display: block;
				width: 14px;
				height: 14px;
				background: url(images/jia.jpg) no-repeat center center;
				float: left;
				margin: 10px 0px 0px 3px;
				padding-right: 10px;
			}
			
			.one span.jian {
				background-image: url(images/-.jpg);
			}
			
			.one span.jia {
				background-image: url(images/jia.jpg);
			}
			
			.one div.bgreen {
				background-image: url(images/bg.jpg);
			}
			
			div.content {
				display: none;
				padding: 5px;
				width: 716px;
				margin-left: 50px;
				border: 1px solid #D9EFED;
			}
		</style>
		
	</head>

	<body>

		<div id="fq">
			<div class="one">
				<div class="top"><span class="iocn"></span>什么是人身保险？</div>
				<div class="content">
					<img src="images/gd.jpg" /><br/>
					<p>人身保险是人的寿命和身体为...... </p>
				</div>
			</div>
			<div class="one">
				<div class="top"><span class="iocn"></span>什么是保险合同？</div>
				<div class="content">
					<img src="images/gd.jpg" /><br/>
					<p>保险合同是......</p>
				</div>
			</div>
			<div class="one">
				<div class="top"><span class="iocn"></span>什么是保险人？</div>
				<div class="content">
					<img src="images/gd.jpg" /><br/>
					<p>保险人是......</p>
				</div>
			</div>
			<div class="one">
				<div class="top"><span class="iocn"></span>什么是投保人？</div>
				<div class="content">
					<img src="images/gd.jpg" /><br/>
					<p>投保人是......</p>
				</div>
			</div>
		</div>
	</body>
	<script type="text/javascript">
		$(".top").hover(function(){
			$(this).addClass("bg2")
		},
		function(){
			$(this).removeClass("bg2")
		})
		$(".top").toggle(function(){
			$(this).find(".iocn").removeClass("jia");
			$(this).find(".iocn").addClass("jian");
			$(this).siblings().slideDown("slow");
		},
		function(){
			$(this).find(".iocn").removeClass("jian");
			$(this).find(".iocn").addClass("jia");
			$(this).siblings().slideUp("slow");
		});
	</script>
</html>